-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get device capabilities #104
Get device capabilities #104
Conversation
You are welcome to add an entry to the CHANGELOG.md as well |
Built artifacts for commit 902deedFirmwareClient |
ok if I push a fix to GET_DEVICE on your PR ? (wrong (uint8_t*)1 makes fw crashing) Generally speaking, please avoid massive style changes mixed with functional changes, it makes hard to review your changes. |
For endianness we should use systematically everywhere functions to convert to/from "Network byte order" and not make any assumption on host byte order. |
I've tried to search for them, but they exists only in newer nRF Connect SDK (or I searched incorrectly) |
Hmm it seems they were available as macros (HTONL) in previous nRF SDKs, from nRF IoT SDK, e.g. https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__iot__defines.html |
They are in SDK 17.1.0 in external/lwip/src/include/lwip/def.h as |
@doegox I'm still waiting for your fix and correct hto* porting |
ha sorry you never replied so I thought you did on your side. |
i'd say it's good enough for merge now, even if I would avoid reusing existing structs with weird things like non-typed enums, and hardcoding sizes because struct is not declared for Lite. Yes I'm looking at |
Implement
hw raw
to send raw commands to chameleon (for easier development)Implement
hf mf info
to get UID/SAK/ATQA from current slotImplement
DATA_CMD_GET_DEVICE
to fetch all available commands from chameleonImplement
DATA_CMD_GET_DEVICE_CAPABILITIES
to get current chameleon type (ultra or lite)Implement
DATA_CMD_GET_SETTINGS
to get all chameleon settings in one command